package com.fansl.allround.open.service;

import com.fansl.allround.open.api.entity.email.SendMailMessage;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/10/10 12:49
 */
public interface MailService {
    /**
     * 发送多媒体类型邮件
     *
     * @param mailMessage
     */
    Object sendMimeMail(SendMailMessage mailMessage) throws Exception;

    /**
     * 发送简单消息
     * @param mailMessage
     * @return
     * @throws Exception
     */
    Object sendSimpleMail(SendMailMessage mailMessage) throws Exception;
}
